﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DisplayBoardInfo.Client
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]

        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new Forms.LoginForm(networkCC));
            NetworkClientClass networkCC = new NetworkClientClass();
            Forms.LoginForm loginForm = new Forms.LoginForm(networkCC);
            if (loginForm.ShowDialog() == DialogResult.OK)
            {
                Forms.Client clientForm = new Forms.Client(loginForm.User, networkCC);
                if (clientForm.ShowDialog() == DialogResult.OK)
                {
                    // TODO
                }
            }
        }
    }
}
